﻿using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;

namespace MapleLeaf.IdentityServer.Models
{
    // Add profile data for application roles by adding properties to the ApplicationRole class
    public class ApplicationRole : IdentityRole<int>
    {
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { set; get; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string Creator { set; get; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { set; get; }
        /// <summary>
        /// 最近更新人
        /// </summary>
        public string Modifier { set; get; }
        /// <summary>
        /// 最近更新时间
        /// </summary>
        public DateTime? ModifyTime { set; get; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDeleted { get; set; } = false;
        /// <summary>
        /// 是否有效
        /// </summary>
        public bool IsValid { get; set; }
    }
}
